package com.yenlien.traceyun.milk.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.yenlien.traceyun.business.entity.TraceEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Date 2022/7/11
 * @Author jiaLong
 * @Descript
 */
@Entity
@Table(name = "t_milk_farmers")
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Farmers extends TraceEntity {

    @Excel(name="农户姓名", width = 15)
    private String farmersName;     // 农户姓名

    @Excel(name="牧场名称", width = 15)
    private String pastureName;     // 所属牧场名称   改为奶站名称

    @Excel(name="农户手机号", width = 15)
    private String farmersPhone;    // 农户手机号

    @Excel(name="状态(1=启用  2=禁用)", width = 15)
    private String state;           // 状态   1=启用  2=禁用


}
